<html>
<head><meta charset="utf-8"><title>Folders for Rust projects? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html">Folders for Rust projects?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="168220739"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168220739" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168220739">(Jun 15 2019 at 19:44)</a>:</h4>
<p>Miri needs a cache folder somewhere on the system. Do we have some kind of policy how official Rust projects usually pick those? Also see <a href="https://github.com/rust-lang/miri/pull/774" target="_blank" title="https://github.com/rust-lang/miri/pull/774">https://github.com/rust-lang/miri/pull/774</a>.</p>



<a name="168220750"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168220750" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168220750">(Jun 15 2019 at 19:44)</a>:</h4>
<p>in particular we can set an "organization" and a "qualifier" which at least on macOS become a reverse domain name, so it might make sense to pick "rust-lang" and "org"?</p>



<a name="168220755"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168220755" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168220755">(Jun 15 2019 at 19:44)</a>:</h4>
<p>on Linux none of this matters and on Windows only the organization is relevant</p>



<a name="168222517"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168222517" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168222517">(Jun 15 2019 at 20:45)</a>:</h4>
<blockquote>
<p>on Linux none of this matters</p>
</blockquote>
<p>haha. Linux users are the most vocal about this</p>



<a name="168223734"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168223734" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168223734">(Jun 15 2019 at 21:27)</a>:</h4>
<p>no what I mean is that "organization" and "qualifier" are ignored on Linux</p>



<a name="168223740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168223740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168223740">(Jun 15 2019 at 21:27)</a>:</h4>
<p>the crate picks the right place (following XDG on Linux) automatically, you just have to fill in some blanks</p>



<a name="168380166"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168380166" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168380166">(Jun 18 2019 at 08:33)</a>:</h4>
<p>using org.rust-lang.miri would probably make sense</p>



<a name="168380193"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168380193" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168380193">(Jun 18 2019 at 08:33)</a>:</h4>
<p>and on unix-like $HOME/.config/miri seems sensible</p>



<a name="168382517"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168382517" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168382517">(Jun 18 2019 at 09:14)</a>:</h4>
<p><code>.cache</code> for caches, please</p>



<a name="168382625"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168382625" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168382625">(Jun 18 2019 at 09:16)</a>:</h4>
<p>See <a href="https://github.com/rust-lang/cargo/pull/5183" target="_blank" title="https://github.com/rust-lang/cargo/pull/5183">https://github.com/rust-lang/cargo/pull/5183</a>. That <code>directories</code> crate should work.</p>



<a name="168392819"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Folders%20for%20Rust%20projects%3F/near/168392819" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Folders.20for.20Rust.20projects.3F.html#168392819">(Jun 18 2019 at 11:58)</a>:</h4>
<p>Oh right!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>